package com.example.luowqtest.controller;

import com.example.luowqtest.vo.resObj;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@RestController
@CrossOrigin
public class testController {
    @RequestMapping(value="/test123",method = RequestMethod.GET)
    @ResponseBody
    public resObj testFunc1(String test){
         System.out.println("这是第一次的代码");
         resObj res = new resObj();
         res.setCode("0000");
         res.setMsg("访问到了第一个函数==testFunc1");
        res.printTest("重载2");
         res.printTest("唯一增量");
        res.printTest();
         return  res;
    }
}
